package com.robotic.route.service;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.extension.service.IService;
import com.robotic.route.domain.InspectionRecordDetails;

/**
 * 巡检记录详情Service接口
 *
 * @author tian
 * @date 2025-10-15
 */
public interface IInspectionRecordDetailsService extends IService<InspectionRecordDetails>
{
    /**
     * 查询巡检记录详情
     *
     * @param id 巡检记录详情主键
     * @return 巡检记录详情
     */
    public InspectionRecordDetails selectInspectionRecordDetailsById(Long id);

    /**
     * 查询巡检记录详情列表
     *
     * @param inspectionRecordDetails 巡检记录详情
     * @return 巡检记录详情集合
     */
    public List<InspectionRecordDetails> selectInspectionRecordDetailsList(InspectionRecordDetails inspectionRecordDetails);

    /**
     * 新增巡检记录详情
     *
     * @param inspectionRecordDetails 巡检记录详情
     * @return 结果
     */
    public int insertInspectionRecordDetails(InspectionRecordDetails inspectionRecordDetails);

    /**
     * 修改巡检记录详情
     *
     * @param inspectionRecordDetails 巡检记录详情
     * @return 结果
     */
    public int updateInspectionRecordDetails(InspectionRecordDetails inspectionRecordDetails);

    /**
     * 批量删除巡检记录详情
     *
     * @param ids 需要删除的巡检记录详情主键集合
     * @return 结果
     */
    public int deleteInspectionRecordDetailsByIds(Long[] ids);

    /**
     * 删除巡检记录详情信息
     *
     * @param id 巡检记录详情主键
     * @return 结果
     */
    public int deleteInspectionRecordDetailsById(Long id);

    Map<String, Object> getNum(InspectionRecordDetails inspectionRecordDetails);

    List<InspectionRecordDetails> getByRecordId(InspectionRecordDetails inspectionRecordDetails);

    List<InspectionRecordDetails> getNormalByRecordId(InspectionRecordDetails inspectionRecordDetails);

    List<InspectionRecordDetails> getList(InspectionRecordDetails inspectionRecordDetails);
}
